/**
 * 合同关联订单类型
 * 0-渠道订单; 1-项目渠道单; 2-项目订单
 */
export const ACTIVE_ORDERS = {
  CHANNEL: '0',
  PROJECT_CHANNEL: '1',
  PROJECT: '2'
};

/**
 * 合同关联订单已选列表类型
 * 0-订单列表; 1-已选择订单列表;
 */
export const SUB_ACTIVE_ORDERS = {
  ALL_ORDER: '0',
  CHECKED_ORDER: '1'
};

/**
 * 订单状态： 0: 草稿中 1: 待发布 2: 待核算 3: 待审批 4: 待封账 5: 封账中 6: 已封账 7: 已完成
 */
export const ORDER_STATUS = {
  DRAFT: 0,
  TO_BE_RELEASED: 1,
  TO_BE_ACCOUNTING: 2,
  TO_BE_APPROVAL: 3,
  TO_BE_SEALING: 4,
  SEALING: 5,
  SEALING_COMPLETED: 6,
  COMPLETED: 7
};
